from bs4 import BeautifulSoup
import re
if __name__ == '__main__':
    with open("1208520123.html",'r') as f:
        html_data = f.read()
    soup = BeautifulSoup(html_data,'lxml')
    a = soup.find_all(attrs={'href':re.compile(r"#pf")})
    b = a[5].find_all(attrs={'href':re.compile(r"#pf")})
    print(1)